<?php
session_start();
date_default_timezone_set('Asia/Bangkok');

require_once("include/config.inc.php");
require_once("class/connect.class.php");
require_once("class/DBFunction.class.php");

$connect = new Connect(host,usernm,passwd,dbname,charset); //มีการประกาศและพร้อมเรียกใช้ด้วย [Overload]
$dbfunc = new DBFunction();

$module=$_GET['module'];
$pages=$_GET['pages'];

$pages = $_GET['page'];
$module = $_GET['module'];
$pages = "module/".$module."~s/".$pages.".php";
include($pages);